home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Programming / Infinity Windoid WDEF 2.6 / Other Versions / WindoidDefines.h—Fat < prev    next >
Text File  |  1994-04-01  |  2KB  |  95 lines

  1. // *****************************************************************************
  2. //
  3. //    WindoidDefines.h
  4. //
  5. // *****************************************************************************
  6. #ifndef __WindoidDefines__
  7. #define __WindoidDefines__
  8.  
  9. // *****************************************************************************
  10. //    Conditional Compilation Options
  11. // -----------------------------------------------------------------------------
  12.  
  13. #define THICK_TITLEBAR
  14. // #define TITLE_STRING
  15.  
  16. #define ALLOW_ZOOM
  17. #define ALLOW_VERT
  18.  
  19. // #define ALLOW_GROW
  20. // #define SMALL_GROW
  21.  
  22. #define UNIV_HEADERS
  23. #define VERS_2_2_COMPATIBLE
  24.  
  25. // *****************************************************************************
  26. //    Combinations
  27. //        These should pretty much remain untouched
  28. // -----------------------------------------------------------------------------
  29.  
  30. #ifdef VERS_2_2_COMPATIBLE
  31.     #ifndef MFI_ZOOM
  32.     #define MFI_ZOOM
  33.     #endif
  34.     
  35.     #ifndef STAYPUT_ZOOM
  36.     #define STAYPUT_ZOOM
  37.     #endif
  38. #endif
  39.  
  40. // -----------------------------------------------------------------------------
  41.  
  42. #ifdef THINK_STYLE
  43.     #ifndef ALLOW_VERT
  44.     #define ALLOW_VERT
  45.     #endif
  46.  
  47.     #ifndef ALWAYS_HILITE
  48.     #define ALWAYS_HILITE
  49.     #endif
  50.  
  51.     #ifdef MACAPP_STYLE
  52.     #undef MACAPP_STYLE
  53.     #endif
  54. #endif
  55.  
  56. // -----------------------------------------------------------------------------
  57.  
  58. #ifdef MACAPP_STYLE
  59.     #ifdef ALLOW_VERT
  60.     #undef ALLOW_VERT
  61.     #endif
  62.  
  63.     #ifdef ALWAYS_HILITE
  64.     #undef ALWAYS_HILITE
  65.     #endif
  66.  
  67.     #ifndef ALLOW_GROW
  68.     #define ALLOW_GROW
  69.     #endif
  70. #endif
  71.  
  72. // -----------------------------------------------------------------------------
  73.  
  74. #ifdef SYS7_OR_LATER
  75.     #ifndef USE_GESTALT
  76.     #define USE_GESTALT
  77.     #endif
  78. #endif
  79.  
  80. // *****************************************************************************
  81. //    System version define for the Apple Interfaces
  82. // -----------------------------------------------------------------------------
  83.  
  84. #ifdef SYS7_OR_LATER
  85.     #define SystemSevenOrLater 1    
  86. #else
  87.     #define SystemSixOrLater 1        
  88. #endif
  89.  
  90.     // This is used so that we can cut down on the code size in MPW. If 
  91.     // support for earlier systems is important, get rid of this. 
  92.     // Note: for this define to work under THINK C, MacHeaders cannot be used.
  93.  
  94. // *****************************************************************************
  95. #endif